//
//  TitleTableViewCell.m
//  喜马拉雅首页
//
//  Created by dllo on 15/12/22.
//  Copyright © 2015年 刘倩男. All rights reserved.
//

#import "TitleTableViewCell.h"


@interface TitleTableViewCell ()
@property (nonatomic, retain) UIImageView *imageView1;
@property (nonatomic, retain) UILabel *labelTitle;
@end
@implementation TitleTableViewCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self createSubViews];
    }
    return self;
}


- (void)createSubViews{
    
    self.imageView1 = [[UIImageView alloc] initWithFrame:CGRectMake(10, 15, 15, 15)];
    self.imageView1.image = [UIImage imageNamed:@"liveRadioCellPoint@2x.png"];
    [self addSubview:self.imageView1];
    
    self.labelTitle = [[UILabel alloc] initWithFrame:CGRectMake(35, -2, 100, 50)];
    self.labelTitle.text = @"精品单听";
    [self addSubview:self.labelTitle];
    
    UILabel *moreLabel = [[UILabel alloc] initWithFrame:CGRectMake(355, -2, 100, 50)];
    moreLabel.text = @"更多";
    moreLabel.textColor = [UIColor grayColor];
    moreLabel.font = [UIFont systemFontOfSize:14];
    [self addSubview:moreLabel];
    
    UIImageView *imageView3 = [[UIImageView alloc] initWithFrame:CGRectMake(385, 17, 13, 13)];
    imageView3.image = [UIImage imageNamed:@"cell_arrow@2x.png"];
    [self addSubview:imageView3];

    
}

@end
